<?php
abstract class Controller_Helper_Abstract
{
	/**
	 * 
	 * @var Controller_Front
	 */
	protected $_parentController;
	
	protected $_name;
	
	public function __construct($name, Controller_Abstract $parentController)
	{
		$this->_name = strtolower((string) $name);
		$this->_parentController = $parentController;
	}
	
	abstract public function run();
	
	/**
	 * 
	 * @return string
	 */
	public function getName()
	{
		return $this->_name;
	}
	
	protected function view()
	{
		return $this->_parentController->view();
	}
}